<?php
session_start();
if(isset($_SESSION['auth'])) {
	$user_id = $_SESSION['auth'];
} else {
	$user_id = -1;
}
echo $user_id;
?>